{#{% extends 'Base/main.content.lists.div.html.twig' %}#}
{#{% import 'Base/list_item.twig' as listItem %}#}
{% extends 'Back/Sano/list.creator.html.twig' %}
{% import 'Back/Sano/list.item.twig' as listItem %}
{#默认不能删除和新增#}
{#{% block addBtn %}{% endblock %}#}
{#{% block delBtn %}{% endblock %}#}
{% block tableHead %}
    <tr>
        <th align="" width="5%">选择</th>
        <th align="" width="5%">#</th>
        <th align="" width="">{{config.logo.label}}</th>
        <th align="" width="">信息</th>
{#        <th align="" width="">{{config.head.label}}</th>#}
{#        <th align="" width="">{{config.openStart.label}}</th>#}
{#        <th align="" width="">{{config.openEnd.label}}</th>#}
{#        <th align="" width="">{{config.province.label}}</th>#}
{#        <th align="" width="">{{config.city.label}}</th>#}
{#        <th align="" width="">{{config.area.label}}</th>#}
{#        <th align="" width="">{{config.address.label}}</th>#}
{#        <th align="" width="">{{config.intro.label}}</th>#}
{#        <th align="" width="">{{config.pics.label}}</th>#}
{#        <th align="" width="">{{config.lat.label}}</th>#}
{#        <th align="" width="">{{config.lon.label}}</th>#}
{#        <th align="" width="">{{config.phone.label}}</th>#}
        <th align="" width="">{{config.isAuth.label}}</th>
{#        <th align="" width="">{{config.openStr.label}}</th>#}
{#        <th align="" width="">{{config.statistic.label}}</th>#}
        <th align="center" width="8%">操作</th>
    </tr>
{% endblock %}
{% block tableList %}
    {% for Entity in lists %}
        <tr>
            <td align='' width=''>
                <span class="checkall"><input lay-skin="primary" type="checkbox" name="ids[]" value="{{ Entity.id }}"/></span>
            </td>
            <td align='' width='' id='user_{{ Entity.id }}'>
                {{ listItem.text('user',Entity.id,Entity.id) }}
            </td>
            <td align='' width='' id='logo_{{ Entity.id }}'>
                {{ listItem.pic('logo',Entity.logo,Entity.id) }}
            </td>
            <td align='' width='' id='user_{{ Entity.id }}'>
                <div>用户：{{ listItem.text('user',Entity.user,Entity.id) }}</div>
                <div>店名：{{ listItem.text('name',Entity.name,Entity.id) }}</div>
                <div>电话： {{ listItem.text('phone',Entity.phone,Entity.id) }}</div>
                <div>地址： {{ listItem.text('address',Entity.address,Entity.id) }}</div>
                <div>{% for item in Entity.tags %} <span class="bdso pad3 fs6 bc1  c13 mar3">{{ listItem.text('address',item.name,item.id) }}</span>  {% endfor %}</div>
            </td>
{#            <td align='' width='' id='head_{{ Entity.id }}'>#}
{#                {{ listItem.pic('head',Entity.head,Entity.id) }}#}
{#            </td>#}
{#            <td align='' width='' id='openStart_{{ Entity.id }}'>#}
{#                {{ listItem.text('openStart',Entity.openStart,Entity.id) }}#}
{#            </td>#}
{#            <td align='' width='' id='openEnd_{{ Entity.id }}'>#}
{#                {{ listItem.text('openEnd',Entity.openEnd,Entity.id) }}#}
{#            </td>#}
{#            <td align='' width='' id='province_{{ Entity.id }}'>#}
{#                {{ listItem.text('province',Entity.province,Entity.id) }}#}
{#            </td>#}
{#            <td align='' width='' id='city_{{ Entity.id }}'>#}
{#                {{ listItem.text('city',Entity.city,Entity.id) }}#}
{#            </td>#}
{#            <td align='' width='' id='area_{{ Entity.id }}'>#}
{#                {{ listItem.text('area',Entity.area,Entity.id) }}#}
{#            </td>#}
{#            <td align='' width='' id='address_{{ Entity.id }}'>#}
{#            </td>#}
{#            <td align='' width='' id='intro_{{ Entity.id }}'>#}
{#                {{ listItem.text('intro',Entity.intro,Entity.id) }}#}
{#            </td>#}
{#            <td align='' width='' id='pics_{{ Entity.id }}'>#}
{#                {{ listItem.pics('pics',Entity.pics,Entity.id) }}#}
{#            </td>#}
{#            <td align='' width='' id='lat_{{ Entity.id }}'>#}
{#                {{ listItem.text('lat',Entity.lat,Entity.id) }}#}
{#            </td>#}
{#            <td align='' width='' id='lon_{{ Entity.id }}'>#}
{#                {{ listItem.text('lon',Entity.lon,Entity.id) }}#}
{#            </td>#}

            <td align='' width='' id='isAuth_{{ Entity.id }}'>
                {{ listItem.switch('isAuth',Entity.isAuth,Entity.id) }}
            </td>
{#            <td align='' width='' id='openStr_{{ Entity.id }}'>#}
{#                {{ listItem.text('openStr',Entity.openStr,Entity.id) }}#}
{#            </td>#}
{#            <td align='' width='' id='statistic_{{ Entity.id }}'>#}
{#                {{ listItem.text('statistic',Entity.statistic,Entity.id) }}#}
{#            </td>#}
            <td align='' width=''>
                {{ listItem.edit('Shop','',Entity.id) }}
            </td>
        </tr>
    {% endfor %}
{% endblock %}
{% block script %}
{% endblock %}

